﻿//*** Guidance generated code ***//
using System;
using System.Globalization;
using System.Web.Mvc;

namespace $safeprojectname$.Binding
{
    public class MvcValueResult : IValueResult
    {
        protected readonly ValueProviderResult ValueProviderResult;
        public MvcValueResult(ValueProviderResult result)
        {
            ValueProviderResult = result;
        }
        public object ConvertTo(Type type)
        {
            return ValueProviderResult.ConvertTo(type);
        }
        public object ConvertTo(Type type, CultureInfo culture)
        {
            return ValueProviderResult.ConvertTo(type, culture);
        }
        public string AttemptedValue { get { return ValueProviderResult.AttemptedValue; } }
        public CultureInfo Culture { get { return ValueProviderResult.Culture; } }
        public object RawValue { get { return ValueProviderResult.RawValue; } }
    }
}